<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>顶十 - 运营管理平台 - 登录</title><meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<link rel="stylesheet" href="/assets/css/bootstrap.login.css" />
		<link rel="stylesheet" href="/assets/css/matrix-login.css" />
		<link href="/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
		<style type="text/css">*{font-family: 微软雅黑;}</style>
	</head>
	<body>
		<div id="loginbox">            
            <form id="loginform" class="form-vertical" action="/login.do" method="post">
				<div class="control-group normal_text"> <h3><img src="/assets/img/logo.png" alt="Logo" /></h3></div>
				<p class="normal_text" style="color:red;">${msg}</p>
                <div class="control-group">
                    <div class="controls">
                        <div class="main_input_box">
                            <span class="add-on bg_lg"><i class="icon-user"></i></span><input type="text" placeholder="登录名" name="account" value="${act}" />
                        </div>
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <div class="main_input_box">
                            <span class="add-on bg_ly"><i class="icon-lock"></i></span><input id="pwd" type="hidden" name="password" value="${pwd}"><input type="password" onchange="document.getElementById('pwd').value=md5(this.value)" placeholder="${pwd==null?"密码":"密码 - 未更改"}" />
                        </div>
                    </div>
                </div>
                <div class="form-actions">
                	<span class="pull-left"><input id="remember" type="checkbox" name="remember" value="1" ${pwd!=null?"checked='checked'":""}><label for="remember" style="display:inline-block;vertical-align:sub;margin-left: 5px;color: #fff;">记住密码</label></span>
                    <span class="pull-right"><input type="submit" value="登录" class="btn btn-success" /></span>
                </div>
            </form>
        </div>
        <script src="/assets/js/md5.js"></script>
    </body>
</html>
